package com.bcfn.bshop.common.dto;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @author LiangGuoNing.
 * 
 * 2018年10月27日 上午1:54:31.
 *
 * 修改记录：
 *
 */
public class BaseDto<ID> extends PageDto implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -9193679756021986301L;

	private Date createTime;

	private String createUser;

	private Date lastUpdateTime;

	private String lastUpdateUser;

	private Long version;
	
	private ID id;
	
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getLastUpdateUser() {
		return lastUpdateUser;
	}

	public void setLastUpdateUser(String lastUpdateUser) {
		this.lastUpdateUser = lastUpdateUser;
	}

	public Long getVersion() {
		return version;
	}

	public void setVersion(Long version) {
		this.version = version;
	}

	public ID getId() {
		return id;
	}

	public void setId(ID id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return "BaseDto [createTime=" + createTime + ", createUser=" + createUser + ", lastUpdateTime=" + lastUpdateTime
				+ ", lastUpdateUser=" + lastUpdateUser + ", version=" + version + ", id=" + id + ", toString()="
				+ super.toString() + "]";
	}
}
